using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SPSAndong.Entity;
using SPSAndong.Model;
using Leeder.Service;
using Leeder.Repository;
using SqlSugar;

namespace SPSAndong.Service
{
    /// <summary>
    /// 
    /// </summary>
   public class OpcGroupService : BaseService<OpcGroupModel>
   {
        /// <summary>
        /// 关联实体类型
        /// </summary>
        protected override Type RefEntityType { get { return typeof(OpcGroupEntity); } }


        public void GetModelTest()
        {
            //RF<OpcGroupEntity, OpcTagEntity>.Queryable((g, t) => new JoinQueryInfos(JoinType.Inner, g.ID == t.GroupId))
            //.Where((g, t) =>g.GroupName == "").Select((g, t) => new CustomerHandlerDetialModel
            //{
            //    Id = ch.Id,
            //    CustomerId = ci.Id,
            //    //Customer = ci.Customer,
            //    HandlerId = h.Id,
            //    Handler = h.Handler,
            //    Contact = h.Contact,
            //    EmailAddress = h.EmailAddress,
            //}).to
        }
    }
}